package com.gupao.practice.data20200223;

/**
 * 国内支付
 *
 * @author ZhenZhong
 * @date 2020/2/24
 */
public class DomesticPaymentFactory extends AbstractPaymentFactory implements PaymentFactory {

    private DomesticPaymentFactory() {
    }

    @Override
    protected String getConfigFile() {
        return "domestic-payment.txt";
    }

    public static final PaymentFactory getInstance() {
        return Instance.FACTORY;
    }


    private static class Instance {
        private static final PaymentFactory FACTORY = new DomesticPaymentFactory();
    }
}
